<?php /* Smarty version Smarty-3.0.7, created on 2011-10-07 13:31:25
         compiled from "components/filter/filtertablepayment.tpl" */ ?>
<?php /*%%SmartyHeaderCode:1724059574e8ee30d0f9b42-70661060%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'dab188aa7d33d64ba3f3c02f70af47d2972c05cd' => 
    array (
      0 => 'components/filter/filtertablepayment.tpl',
      1 => 1317986832,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '1724059574e8ee30d0f9b42-70661060',
  'function' => 
  array (
  ),
  'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<?php if (!$_smarty_tpl->getVariable('list')->value['ajax']){?>
			<table id="<?php echo $_smarty_tpl->getVariable('list')->value['compname'];?>
_tbl_<?php echo $_smarty_tpl->getVariable('list')->value['name'];?>
_hdr" name="<?php echo $_smarty_tpl->getVariable('list')->value['compname'];?>
_tbl_<?php echo $_smarty_tpl->getVariable('list')->value['name'];?>
_hdr" class="filtertable">
				<thead>
				<tr>
					<th name="col_first" width="20px" <?php if (!$_smarty_tpl->getVariable('list')->value['showcb']){?>class="hide"<?php }?>><input name="<?php echo $_smarty_tpl->getVariable('list')->value['compname'];?>
_cb_<?php echo $_smarty_tpl->getVariable('list')->value['name'];?>
" id="<?php echo $_smarty_tpl->getVariable('list')->value['compname'];?>
_cb_<?php echo $_smarty_tpl->getVariable('list')->value['name'];?>
" type="checkbox" value="-1" onclick="toggleCB('<?php echo $_smarty_tpl->getVariable('list')->value['compname'];?>
','<?php echo $_smarty_tpl->getVariable('list')->value['name'];?>
', this.checked);"/></th>
					<th width="110px"><?php echo $_smarty_tpl->getVariable('list')->value['lblcurrency'];?>
</th>
					<th><?php echo $_smarty_tpl->getVariable('list')->value['lblaccount'];?>
<?php if (($_smarty_tpl->getVariable('list')->value['showremain'])){?> (<?php echo $_smarty_tpl->getVariable('list')->value['lblremain'];?>
)<?php }?></th>
				</tr>
				</thead>
			</table>
			<div class="scrolldiv">
			<table id="<?php echo $_smarty_tpl->getVariable('list')->value['compname'];?>
_tbl_<?php echo $_smarty_tpl->getVariable('list')->value['name'];?>
" name="<?php echo $_smarty_tpl->getVariable('list')->value['compname'];?>
_tbl_<?php echo $_smarty_tpl->getVariable('list')->value['name'];?>
" class="filtertable">
				<tbody id="<?php echo $_smarty_tpl->getVariable('list')->value['compname'];?>
_tbl_<?php echo $_smarty_tpl->getVariable('list')->value['name'];?>
_body">
<?php }?>
				<?php $_smarty_tpl->tpl_vars['i'] = new Smarty_variable(0, null, null);?>
				<?php  $_smarty_tpl->tpl_vars['row'] = new Smarty_Variable;
 $_from = $_smarty_tpl->getVariable('rows')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
if ($_smarty_tpl->_count($_from) > 0){
    foreach ($_from as $_smarty_tpl->tpl_vars['row']->key => $_smarty_tpl->tpl_vars['row']->value){
?>
					<tr <?php if ($_smarty_tpl->getVariable('list')->value['selectable']){?>class="highlightrow"<?php }?> height="15px" onclick="<?php echo $_smarty_tpl->getVariable('list')->value['compname'];?>
_filter.rowClick(this);" name="<?php echo $_smarty_tpl->tpl_vars['row']->value['id'];?>
">
						<td name="col_first" <?php if (!$_smarty_tpl->getVariable('list')->value['showcb']){?>class="hide textcenter"<?php }else{ ?>class="textcenter"<?php }?>><input name="<?php echo $_smarty_tpl->getVariable('list')->value['compname'];?>
_cb_<?php echo $_smarty_tpl->getVariable('list')->value['name'];?>
<?php echo $_smarty_tpl->getVariable('i')->value;?>
" id="<?php echo $_smarty_tpl->getVariable('list')->value['compname'];?>
_cb_<?php echo $_smarty_tpl->getVariable('list')->value['name'];?>
<?php echo $_smarty_tpl->getVariable('i')->value;?>
" type="checkbox" value="<?php echo $_smarty_tpl->tpl_vars['row']->value['id'];?>
" onclick="this.checked=(this.checked ? false : true);" /></td><!--onclick=" fillSelected('<?php echo $_smarty_tpl->getVariable('list')->value['compname'];?>
',false,this.checked);"-->
						<td><?php echo $_smarty_tpl->tpl_vars['row']->value['currency'];?>
</td>
						<td><?php echo $_smarty_tpl->tpl_vars['row']->value['accountname'];?>
<?php if ((($_smarty_tpl->getVariable('list')->value['showremain'])&&($_smarty_tpl->tpl_vars['row']->value['remainaccount']))){?> (<?php echo $_smarty_tpl->tpl_vars['row']->value['remainaccount'];?>
)<?php }?></td>
					</tr>
					<?php $_smarty_tpl->tpl_vars['i'] = new Smarty_variable($_smarty_tpl->getVariable('i')->value+1, null, null);?>
				<?php }} ?>
<?php if (!$_smarty_tpl->getVariable('list')->value['ajax']){?>
				</tbody>
			</table>
			</div>
<script language="javascript">
	//alert($("<?php echo $_smarty_tpl->getVariable('list')->value['compname'];?>
_tbl_<?php echo $_smarty_tpl->getVariable('list')->value['name'];?>
").rows.length);
	//ScrollableTable ($("<?php echo $_smarty_tpl->getVariable('list')->value['compname'];?>
_tbl_<?php echo $_smarty_tpl->getVariable('list')->value['name'];?>
"), ((Math.min(4, <?php echo count($_smarty_tpl->getVariable('rows')->value);?>
))*34)+27, 800, 4);
	//setRecordCount("<?php echo $_smarty_tpl->getVariable('list')->value['compname'];?>
","<?php echo $_smarty_tpl->getVariable('list')->value['name'];?>
");
	setScrolltableHdr("<?php echo $_smarty_tpl->getVariable('list')->value['compname'];?>
_tbl_<?php echo $_smarty_tpl->getVariable('list')->value['name'];?>
");
</script>
<?php }?>